<div class="row">
	<div class="col-md-12">
		<input type="text" class="form-control" value="${record.title!}" placeholder="标题" title="标题" name="title">
	</div>
</div>
<div class="row">
	<div class="col-md-4">
		<input type="text" class="form-control" value="${record.source!}" placeholder="来源" title="来源" name="source">
	</div>
	<div class="col-md-4">
		<input type="text" class="form-control" value='${record.pubtime!, dateFormat="yyyy-MM-dd"}' placeholder="发布时间" title="发布时间" name="pubtime" readonly>
	</div>
</div>

<div class="row">
	<div class="col-md-12">
		<input class="form-control" id="allTags">
	</div>
</div>

<div class="row">
	<div class="col-md-3">
		<select name="categoryId" class="form-control">
			@for(category in categoryList!){
				<option value ="${category.id!''}" ${category.id! == record.category.id!""?"selected":""}>${category.category!""}</option>
			@}
		</select>
	</div>

	<div class="col-md-9">
		<input class="form-control" name="tags" id="myTags">
	</div>
</div>
<div class="row">
	<div class="col-md-12">
		<textarea id="edit" style="margin-top: 30px;" name="content">${reg.replace(record.content!"", "(<[/]?)code([^<>]*>)", "$1span$2")}</textarea>
	</div>
</div>
<div class="row">
	<div class="col-md-12">
		<button type="submit" class="btn btn-info">提交</button>
	</div>
</div>